package cn.juque.systemservice.api.dto.auth;

import cn.juque.common.abstracts.AbstractRequestDTO;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author nuoka
 * @version 1.0.0
 * <li>IntelliJ IDEA</li>
 * <li></li>
 * @date 2021/10/6 17:42
 **/
@Data
public class AddRoleFuncRelationDTO extends AbstractRequestDTO {

    /**
     * 角色id
     */
    @NotBlank(message = "角色ID不能为空")
    private String roleId;

    /**
     * 操作权限ID
     */
    private List<String> funcIds;
}
